package cn.org.eshow.dao;


import cn.org.eshow.bean.query.ProductOrderQuery;
import cn.org.eshow.common.page.Page;
import cn.org.eshow.model.ProductOrder;

import java.util.List;

/**
 * An interface that provides a data management interface to the ShopOrder table.
 */
public interface ProductOrderDao extends GenericDao<ProductOrder, Integer> {

	List<ProductOrder> list(ProductOrderQuery query);

	Page<ProductOrder> search(ProductOrderQuery query);

    Long count(ProductOrderQuery query);
}